package com.cs.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 采购方代(抽取专家)对象 cs_representative
 * 
 * @author ruoyi
 * @date 2024-12-03
 */
public class CsRepresentative extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 采购方代表id */
    private Long pId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String pName;

    /** 身份证 */
    @Excel(name = "身份证")
    private String idCard;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 性别 */
    @Excel(name = "性别")
    private Long sex;

    /** 抽取专家项目编号 */
    @Excel(name = "抽取专家项目编号")
    private String iNumber;

    public void setpId(Long pId) 
    {
        this.pId = pId;
    }

    public Long getpId() 
    {
        return pId;
    }
    public void setpName(String pName) 
    {
        this.pName = pName;
    }

    public String getpName() 
    {
        return pName;
    }
    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public void setSex(Long sex)
    {
        this.sex = sex;
    }

    public Long getSex() 
    {
        return sex;
    }
    public void setiNumber(String iNumber) 
    {
        this.iNumber = iNumber;
    }

    public String getiNumber() 
    {
        return iNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pId", getpId())
            .append("pName", getpName())
            .append("idCard", getIdCard())
            .append("phone", getPhone())
            .append("sex", getSex())
            .append("iNumber", getiNumber())
            .toString();
    }
}